package com.gopay.common.domain.cbrmb.internationalcard;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @ClassName CbRmbIntlCardAuditAssist
 * @Description 外卡拒付订单审核辅助表
 * @author b.zou
 * @date 2017-11-13
 */
@Entity
@Table(name = "CB_RMB_INTLCARD_AUDIT_ASSIST")
public class CbRmbIntlCardAuditAssist extends BaseEntity {

    private static final long serialVersionUID = 6137608198403267524L;

    /**
     * 国付宝订单号
     */
    private String gopayOrderId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 最后时间
     */
    private Date lastUpdateTime;


    /**
     * 是否已更新申诉状态：0-否；1-是
     */
    private String updateAppealFlag;
    /**
     * 更新申诉状态时间
     */
    private Date updateAppealTime;
    /**
     * 更新申诉状态结果：0-申诉失败；1-申诉成功
     */
    private String updateAppealStatus;
    /**
     * 更新申诉状态操作员ID
     */
    private String updateAppealOperId;
    /**
     * 更新申诉状态意见
     */
    private String updateAppealOpinion;


    /**
     * 是否已更新上游资金状态：0-否；1-是
     */
    private String updateUpperFeeFlag;
    /**
     * 更新上游资金状态时间
     */
    private Date updateUpperFeeTime;
    /**
     * 更新上游资金状态结果：0-扣款成功；1-扣费成功；2-解冻成功
     */
    private String updateUpperFeeStatus;
    /**
     * 更新上游资金状态操作员ID
     */
    private String updateUpperFeeOperId;
    /**
     * 更新上游资金状态意见
     */
    private String updateUpperFeeOpinion;

    @Id
    @Column(name = "GOPAY_ORDER_ID", nullable = false, length = 30)
    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    @Column(name = "CREATE_TIME", nullable = false)
    @Temporal(TemporalType.TIMESTAMP)
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name = "LAST_UPDATE_TIME")
    @Temporal(TemporalType.TIMESTAMP)
    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    @Column(name = "UPDATE_APPEAL_FLAG")
    public String getUpdateAppealFlag() {
        return updateAppealFlag;
    }

    public void setUpdateAppealFlag(String updateAppealFlag) {
        this.updateAppealFlag = updateAppealFlag;
    }

    @Column(name = "UPDATE_APPEAL_TIME")
    @Temporal(TemporalType.TIMESTAMP)
    public Date getUpdateAppealTime() {
        return updateAppealTime;
    }

    public void setUpdateAppealTime(Date updateAppealTime) {
        this.updateAppealTime = updateAppealTime;
    }

    @Column(name = "UPDATE_APPEAL_STATUS")
    public String getUpdateAppealStatus() {
        return updateAppealStatus;
    }

    public void setUpdateAppealStatus(String updateAppealStatus) {
        this.updateAppealStatus = updateAppealStatus;
    }

    @Column(name = "UPDATE_APPEAL_OPER_ID")
    public String getUpdateAppealOperId() {
        return updateAppealOperId;
    }

    public void setUpdateAppealOperId(String updateAppealOperId) {
        this.updateAppealOperId = updateAppealOperId;
    }

    @Column(name = "UPDATE_APPEAL_OPINION")
    public String getUpdateAppealOpinion() {
        return updateAppealOpinion;
    }

    public void setUpdateAppealOpinion(String updateAppealOpinion) {
        this.updateAppealOpinion = updateAppealOpinion;
    }

    @Column(name = "UPDATE_UPPER_FEE_FLAG")
    public String getUpdateUpperFeeFlag() {
        return updateUpperFeeFlag;
    }

    public void setUpdateUpperFeeFlag(String updateUpperFeeFlag) {
        this.updateUpperFeeFlag = updateUpperFeeFlag;
    }

    @Column(name = "UPDATE_UPPER_FEE_TIME")
    @Temporal(TemporalType.TIMESTAMP)
    public Date getUpdateUpperFeeTime() {
        return updateUpperFeeTime;
    }

    public void setUpdateUpperFeeTime(Date updateUpperFeeTime) {
        this.updateUpperFeeTime = updateUpperFeeTime;
    }

    @Column(name = "UPDATE_UPPER_FEE_STATUS")
    public String getUpdateUpperFeeStatus() {
        return updateUpperFeeStatus;
    }

    public void setUpdateUpperFeeStatus(String updateUpperFeeStatus) {
        this.updateUpperFeeStatus = updateUpperFeeStatus;
    }

    @Column(name = "UPDATE_UPPER_FEE_OPER_ID")
    public String getUpdateUpperFeeOperId() {
        return updateUpperFeeOperId;
    }

    public void setUpdateUpperFeeOperId(String updateUpperFeeOperId) {
        this.updateUpperFeeOperId = updateUpperFeeOperId;
    }

    @Column(name = "UPDATE_UPPER_FEE_OPINION")
    public String getUpdateUpperFeeOpinion() {
        return updateUpperFeeOpinion;
    }

    public void setUpdateUpperFeeOpinion(String updateUpperFeeOpinion) {
        this.updateUpperFeeOpinion = updateUpperFeeOpinion;
    }
}
